package com.hengxinguotong.zhihuichengjian.bean;

import java.io.Serializable;

/**
 * Created by Administrator on 2017/9/27.
 *
 * 班组
 */

public class Team implements Serializable{
    private String name;//班组名称
    private String value;
    private String projectCompanyId,//公司id
            projectCompanyName,//公司名称
            id;//班组id
    private boolean isSelected = false;

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getValue() {
        return value;
    }

    public void setValue(String value) {
        this.value = value;
    }

    @Override
    public boolean equals(Object obj) {
        if (obj instanceof Team) {
            Team t = (Team) obj;
            return this.name.equals(t.name) && this.value.equals(t.value);
        }
        return super.equals(obj);
    }

    public String getProjectCompanyId() {
        return projectCompanyId;
    }

    public void setProjectCompanyId(String projectCompanyId) {
        this.projectCompanyId = projectCompanyId;
    }

    public String getProjectCompanyName() {
        return projectCompanyName;
    }

    public void setProjectCompanyName(String projectCompanyName) {
        this.projectCompanyName = projectCompanyName;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public boolean isSelected() {
        return isSelected;
    }

    public void setSelected(boolean selected) {
        isSelected = selected;
    }

    @Override
    public String toString() {
        return super.toString();
    }
}
